package ccpp.bean;

/**
 * @author cp
 * @time 2024/4/28 17:14
 * @describe
 */

public class FieldInfo {
    private String FieldName;//字段名称
    private String propertyName;//属性名称
    private String sqlType;//数据类型

    private String javaType;//字段类型
    private String comment;//字段备注
    private Boolean isAutoIncrement;//是否自增


    public FieldInfo() {
    }

    public FieldInfo(String FieldName, String propertyName, String sqlType, String javaType, String comment, Boolean isAutoIncrement) {
        this.FieldName = FieldName;
        this.propertyName = propertyName;
        this.sqlType = sqlType;
        this.javaType = javaType;
        this.comment = comment;
        this.isAutoIncrement = isAutoIncrement;
    }

    /**
     * 获取
     * @return FieldName
     */
    public String getFieldName() {
        return FieldName;
    }

    /**
     * 设置
     * @param FieldName
     */
    public void setFieldName(String FieldName) {
        this.FieldName = FieldName;
    }

    /**
     * 获取
     * @return propertyName
     */
    public String getPropertyName() {
        return propertyName;
    }

    /**
     * 设置
     * @param propertyName
     */
    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    /**
     * 获取
     * @return sqlType
     */
    public String getSqlType() {
        return sqlType;
    }

    /**
     * 设置
     * @param sqlType
     */
    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }

    /**
     * 获取
     * @return javaType
     */
    public String getJavaType() {
        return javaType;
    }

    /**
     * 设置
     * @param javaType
     */
    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    /**
     * 获取
     * @return comment
     */
    public String getComment() {
        return comment;
    }

    /**
     * 设置
     * @param comment
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    /**
     * 获取
     * @return isAutoIncrement
     */
    public Boolean getIsAutoIncrement() {
        return isAutoIncrement;
    }

    /**
     * 设置
     * @param isAutoIncrement
     */
    public void setIsAutoIncrement(Boolean isAutoIncrement) {
        this.isAutoIncrement = isAutoIncrement;
    }

    public String toString() {
        return "FieldInfo{FieldName = " + FieldName + ", propertyName = " + propertyName + ", sqlType = " + sqlType + ", javaType = " + javaType + ", comment = " + comment + ", isAutoIncrement = " + isAutoIncrement + "}";
    }
}